]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
st-texture-cache: fix GtkIconInfo leak
authorPavel Vasin <rat4vier@gmail.com>
Thu, 14 Jun 2012 08:21:25 +0000 (12:21 +0400)
committerJasper St. Pierre <jstpierre@mecheye.net>
Fri, 15 Jun 2012 05:05:08 +0000 (01:05 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=678079

src/st/st-texture-cache.c

index 45f393077d5820abf91bcc352cc80ec7b5ce274f..68dd337699fe9cdf193f920fdbd579c22b2bc087 100644 (file)
@@ -933,6 +933,7 @@ load_gicon_with_colors (StTextureCache    *cache,
   if (ensure_request (cache, key, policy, &request, texture))
     {
       /* If there's an outstanding request, we've just added ourselves to it */
+      gtk_icon_info_free (info);
       g_free (key);
     }
   else